import { defineConfig } from 'umi';
import routes from './routes'
export default defineConfig({
    routes,
    history: { type: 'hash' },
    proxy: {
        '/api': {
            'target': '',
            'changeOrigin': true,
            'pathRewrite': { '^/api': '' },
        }
    },
    historyWithQuery:{}
});